package com.miao.common.entity.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 首页降价优惠表申请(ReductionApply)表实体类
 *
 * @author MiaoWenQing
 * @since 2021-02-19 00:17:20
 */
@SuppressWarnings("serial")
public class ReductionApply extends Model<ReductionApply> {
    //编号
    @TableId(type = IdType.ASSIGN_ID)
    private String redId;
    //商品id
    private String proId;
    //申请时间
    private Date applyTime;
    //添加管理员id
    private Integer adminId;
    //当前状态 00 待处理 01驳回 10 上架 11 下架
    private int state;
    //拒绝原因
    private String reason;
    //处理时间
    private Date opreaTime;
    //上架位置
    private Integer postion;
    //店铺Id
    private  String storeId;

    public String getRedId() {
        return redId;
    }

    public void setRedId(String redId) {
        this.redId = redId;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Date getOpreaTime() {
        return opreaTime;
    }

    public void setOpreaTime(Date opreaTime) {
        this.opreaTime = opreaTime;
    }

    public Integer getPostion() {
        return postion;
    }

    public void setPostion(Integer postion) {
        this.postion = postion;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    @Override
    public String toString() {
        return "ReductionApply{" +
                "redId='" + redId + '\'' +
                ", proId='" + proId + '\'' +
                ", applyTime=" + applyTime +
                ", adminId=" + adminId +
                ", state=" + state +
                ", reason='" + reason + '\'' +
                ", opreaTime=" + opreaTime +
                ", postion=" + postion +
                ", storeId='" + storeId + '\'' +
                '}';
    }
}
